{config_load file="index.conf"}
{include file="inc/doctype.tpl"}

<head>
    <title>Profile</title>
    {include file="inc/include.tpl"}
</head>

<body>

{include file="inc/logo.tpl"}
{include file="inc/global_menu.tpl"}

<div align="center">
{if $data.user_avatar}
    <img src="{$data.user_path}/{$data.user_avatar}" width="80" align="middle" /><br />
    <strong>Rating:</strong> {$data.user_rating}/{$data.user_rating_count}
{else}
    <img src="{#defaultFace#}" width="80" />
{/if}
</div><br />

<div>
	<img src="/media/img/design/6.gif" />
	<a href="/another/tetatet/{$data.user_id}/">Chat</a>
</div>
<div>
    <strong>Name:</strong> {$data.user_login} is
    {if time() - $data.user_last_visit > #online#}
        offline<br />
        <strong>Last visit:</strong> {$data.user_last_visit}
    {else}
        online
    {/if}<br />
    <strong>Age:</strong> {$data.user_age}<br />
    <strong>Sex:</strong> {$data.user_sex}<br />
    <strong>Country:</strong> {$data.user_country}<br />
    <strong>About:</strong> {$data.user_description}<br />
</div>
<a href="/another/index/{$data.user_id}/">User menu</a>
</body>

</html>